package com.yww.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yww.entity.RoleModules;
import com.yww.entity.Roles;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jobob
 * @since 2020-05-19
 */

public interface IRolesService extends IService<Roles> {

    List<Roles> getRightRole(Integer userId);

    List<Roles> getRoleName(Roles roles);

    List<RoleModules> getRolesContainsMod(Integer roleId);
}
